﻿using HNCSolutions.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace HNCSolutions.Areas.Admin.Controllers
{
    public class TrangChuController : Controller
    {
        public ActionResult _Menu()
        {
            HNCSolutionsEntities container = new HNCSolutionsEntities();

            return PartialView(container.Menus.Where(mn => mn.TrangQuanTri.Value).ToList());
        }

        //
        // GET: /Admin/TrangChu/

        public ActionResult Index()
        {
            return View();
        }

    }
}
